#-------------------------------------------------
#
# Project created by QtCreator 2020-07-17T09:38:34
#
#-------------------------------------------------

QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = SecretKeySystem
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
        main.cpp \
        login.cpp \
    configset.cpp \
    clientwindow.cpp \
    serverwindow.cpp \
    jsonparse.cpp \
    taskqueue.cpp \
    clientsubthread.cpp \
    aescrypto.cpp \
    codec.cpp \
    codecfactory.cpp \
    Message.pb.cc \
    requestcodec.cpp \
    requestfactory.cpp \
    respondcodec.cpp \
    respondfactory.cpp \
    rsacrypto.cpp \
    seckeyinfo.cpp \
    seckeyshm.cpp \
    tcpserver.cpp \
    tcpsocket.cpp \
    clientoperation.cpp \
    serveroperation.cpp \
    dboperation.cpp

HEADERS += \
        login.h \
    configset.h \
    clientwindow.h \
    serverwindow.h \
    jsonparse.h \
    taskqueue.h \
    clientsubthread.h \
    aescrypto.h \
    codec.h \
    codecfactory.h \
    Message.pb.h \
    requestcodec.h \
    requestfactory.h \
    respondcodec.h \
    respondfactory.h \
    rsacrypto.h \
    seckeyinfo.h \
    seckeyshm.h \
    tcpserver.h \
    tcpsocket.h \
    clientoperation.h \
    serveroperation.h \
    dboperation.h

FORMS += \
        login.ui \
    configset.ui \
    clientwindow.ui \
    serverwindow.ui

DISTFILES += \
    Message.proto

INCLUDEPATH += C:\OpenSSL-Win32\include \
    C:\protobuf\include

LIBS += -LC:\protobuf\lib -lprotobuf    \
    -LC:\OpenSSL-Win32\bin -lcrypto-1_1 \
    -lws2_32

RC_ICONS = logo.ico

